<?php
	global $post;
	$breadcrumb = get_breadcrumb();
 	the_post(); 
	$post_id =  get_the_ID();
	$permalink = get_permalink($post_id);
	$title = get_the_title($post_id);
	$content = $post->post_content;
	$content = apply_filters('the_content', $content);
	$post_time = date('F j, Y',strtotime($post->post_date));
	$post_author = get_post_meta($post_id, 'author',true);
	if (!$post_author) $post_author = 'Gerald Ding';
	$post_property = 'Posted on '.$post_time.' | by: '.$post_author;
	get_header(); 
?>

		<div id="container">
			<div id="content" class="content bg_white" role="main">
			
			<div class = "breadcrumb_20">
					<?php echo $breadcrumb;?>	
				</div>		
			<div class = "w100 fl line-aaa"></div>		
			
			
			<div class = "single-center">
			
				<div class ="single_title">
								<?php echo $title;?>
				</div>
				<div class="clr"></div>
				<div class = "post_property">
					<?php 
						echo $post_property;
					?>
				</div>
				<div class = "w100 fl dotted"></div>
				<div class ="clr"></div>
				<div class ="single_content">
								<?php echo $content; ?>
				</div>
						
			</div><!-- .page-center -->
			<div class = "sidebar-right">
				<div class = "page_right">
					<?php get_sidebar('right');?>
				</div>
			</div>
				
			</div><!-- #content -->
			
		</div><!-- #container -->

<?php get_footer(); ?>
